<template>
	<el-form  label-position="left" label-width="0px" class="demo-ruleForm login-container">
		<h3 class="title">系统登录</h3>
		<el-button type="primary" style="width:100%;" @click="loginTest">登录</el-button>
	</el-form>
</template>

<script>
	import {
		loginApi
	} from '../api/api.js';


	export default {
		data() {
			return {
				
			}
		},
		methods: {
			loginTest() {
				loginApi({
					loginName: 1,
				}).then(res => {
					console.log(res)
				}).catch(err => {
					console.log(err)
					this.logining = false;
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.login-container {
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-border-radius: 5px;
		background-clip: padding-box;
		margin: 180px auto;
		width: 350px;
		padding: 35px 35px 15px 35px;
		background: #fff;
		border: 1px solid #eaeaea;
		box-shadow: 0 0 25px #cac6c6;

		.title {
			margin: 0px auto 40px auto;
			text-align: center;
			color: #505458;
		}

		.remember {
			margin: 0px 0px 35px 0px;
		}
	}
</style>
